Skip to content

Conversation

@0xMimir
Copy link
Contributor

@0xMimir 0xMimir commented Oct 30, 2024

No description provided.

@0xMimir 0xMimir force-pushed the feat/port-block-producer branch 2 times, most recently from 718e9ed to 8631a4a Compare October 30, 2024 19:10
@0xMimir 0xMimir requested a review from tizoc October 30, 2024 19:52
self.injected_blocks.remove(best_tip.hash());
state.injected_blocks.remove(best_tip.hash());
// set the genesis timestamp on the first best tip update
// TODO: move/remove once we can generate the genesis block
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adonagy we do generate the genesis block already, do you remember the context of this comment?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume we can just set this timestamp as soon as the genesis block gets injected right? (maybe we are even doing it already?)

In which case there is no need to wait for the best tip.

Copy link
Collaborator

@tizoc tizoc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM in general, but I need to do another pass. Also lets not merge it before tomorrow's release just in case.

Copy link
Collaborator

@tizoc tizoc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@0xMimir LGTM, please rebase on top of current develop before merging (just to make sure that all commits show up after the v0.11 merge and history doesn't get confusing).

Btw this second pass I did was pretty quick, is there anything I should have paid attention to other than the code moving around and the new callback? (it seems not but just in case)

@0xMimir 0xMimir force-pushed the feat/port-block-producer branch from 23382ea to 22b7aaa Compare October 31, 2024 19:31
@0xMimir 0xMimir merged commit bcd4dda into o1-labs:develop Oct 31, 2024
27 checks passed
@0xMimir 0xMimir deleted the feat/port-block-producer branch November 20, 2024 14:22
@0xMimir 0xMimir restored the feat/port-block-producer branch November 20, 2024 14:22
@0xMimir 0xMimir deleted the feat/port-block-producer branch November 20, 2024 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants